﻿@{
    ViewBag.Title = "内容主题管理";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
@model List<UcAsp.Net.Model.Subjects>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="widget-box">
            <div class="widget-title">
                <span class="icon"><i class="icon-th"></i></span>
                <h5>
                    主题类容管理</h5>
            </div>
            <div class="widget-content nopadding">
                <table class="table table-bordered table-striped">
                    <thead>
                        <tr>
                        <th>
                                编号
                            </th>
                            <th>
                                名称
                            </th>
                            <th>
                                图片
                            </th>
                            <th>
                               关联分类
                            </th>
                            <th>
                               关键词
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach (UcAsp.Net.Model.Subjects s in Model)
                        {
                            <tr>
                            <td>
                                    @s.SubjectId
                                </td>
                                <td>
                                    @s.SubjectName
                                </td>
                                <td>
                                   <img alt="" src="@s.SubjectImg" />
                                </td>
                                <td>
                                    @s.CategoryName
                                </td>
                                <td>
                                    @s.Keywords
                                </td>
                                <td>
                                    <a href="/admin/EditSubject?subjectid=@s.SubjectId&CId=@ViewData["CId"]@if(Request["Message"]!=null){<text>&Message=show</text>}">设置</a>
                                </td>
                            </tr>
                        }
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
